package router

import (
	"api/handler/api"
	"github.com/gin-gonic/gin"
)

func Router() *gin.Engine {
	r := gin.Default()
	r.POST("VideoAdd", api.VideoAdd)
	r.POST("VideoList", api.VideoList)
	r.POST("Upload", api.Upload)
	r.POST("MemberList", api.MemberList)
	r.POST("Member", api.Member)
	r.POST("Venue", api.Venue)
	r.POST("VenueFind", api.VenueFind)
	return r
}
